import React, {PropsWithChildren} from 'react'
import {Divider, Form, Input} from "@nutui/nutui-react-taro";

export interface BuyerFormItemsProps extends PropsWithChildren {

}

const BuyerFormItems: React.FC<BuyerFormItemsProps> = ({}) => {
    return <>
        <Divider>消费者信息</Divider>
        <Form.Item name={"name"} label={"姓名"} required rules={[{required: true, message: "请输入姓名"}]}>
            <Input/>
        </Form.Item>
        <Form.Item label={"身份证号"} name={"idCard"}>
            <Input/>
        </Form.Item>
        <Form.Item label={"手机号"} name={"phoneNumber"}>
            <Input/>
        </Form.Item>
        <Form.Item label={"地址"} name={"address"}>
            <Input/>
        </Form.Item>
    </>
}

export default BuyerFormItems


